import request from '@/utils/request'

//本日待处理工单
export function pendingWorkOrderNum(params) {
  return request({
    url: "/dashboard/pendingWorkOrderNum",
    method: "get",
    params
  })
}

//工程师：本日待处理工单
export function pendingAssignSelfWorkOrderNum(params) {
  return request({
    url: "/dashboard/pendingAssignSelfWorkOrderNum",
    method: "get",
    params
  })
}

//已完成工单
export function finishWorkOrderNum(params) {
  return request({
    url: "/dashboard/finishWorkOrderNum",
    method: "get",
    params
  })
}

//工程师：已完成工单
export function finishAssignSelfWorkOrderNum(params) {
  return request({
    url: "/dashboard/finishAssignSelfWorkOrderNum",
    method: "get",
    params
  })
}

//待分配工单（近三天）
export function assignedWorkOrderNum(params) {
  return request({
    url: "/dashboard/assignedWorkOrderNum",
    method: "get",
    params
  })
}

//统计异常工单数(查询整个医院的)
export function abnormalOrderWork(params) {
  return request({
    url: "/dashboard/statisticsAbnormalOrderWork",
    method: "get",
    params
  })
}
